package com.wit.service.impl;

import java.util.List;

import com.wit.dao.InsurancetypeDao;
import com.wit.po.Insurancetype;
import com.wit.service.InsurancetypeService;

public class InsurancetypeServiceImpl implements InsurancetypeService {
	
	private InsurancetypeDao insurancetypeDao;

	public InsurancetypeDao getInsurancetypeDao() {
		return insurancetypeDao;
	}

	public void setInsurancetypeDao(InsurancetypeDao insurancetypeDao) {
		this.insurancetypeDao = insurancetypeDao;
	}

	
	public boolean addInsurancetype(Insurancetype insurancetype) {
		// TODO Auto-generated method stub
		return insurancetypeDao.addInsurancetype(insurancetype);
	}

	
	public boolean deleteInsurancetype(Insurancetype insurancetype) {
		// TODO Auto-generated method stub
		return insurancetypeDao.deleteInsurancetype(insurancetype);
	}

	
	public List<Insurancetype> findAllInsurancetype() {
		// TODO Auto-generated method stub
		return insurancetypeDao.findAllInsurancetype();
	}

	
	public Insurancetype findInsurancetypeByIdenfier(String insuranceNumber) {
		// TODO Auto-generated method stub
		return insurancetypeDao.findInsurancetypeByIdenfier(insuranceNumber);
	}

	
	public boolean modifyInsurancetype(Insurancetype insurancetype) {
		// TODO Auto-generated method stub
		return insurancetypeDao.modifyInsurancetype(insurancetype);
	}

	
	public List<Insurancetype> findInsurancetypeBySuperiorid(String superiorid) {
		// TODO Auto-generated method stub
		return insurancetypeDao.findInsurancetypeBySuperiorid(superiorid);
	}

}
